﻿<src:BaseWPFWindow x:Class="ESF.SFT.FileUploader.SignInWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:src="clr-namespace:ESF.WinForms.Elements;assembly=ESF.WinForms"
        Title="Ingreso de Usuario" Height="450" Width="322" ResizeMode="NoResize" WindowStartupLocation="CenterScreen" WindowStyle="ToolWindow"  Closing="Window_Closing">
	<DockPanel>
		<Grid Height="70" HorizontalAlignment="Center" Margin="0,12,0,0" Name="grid2" DockPanel.Dock="Top"  Width="222">
			<Grid.ColumnDefinitions>
				<ColumnDefinition Width="66*" />
				<ColumnDefinition Width="158" />
			</Grid.ColumnDefinitions>
			<Image Height="64" HorizontalAlignment="Left" Margin="0,4,0,0" Name="imgUsers" Stretch="Uniform" VerticalAlignment="Top" Width="64" />
			<Label Content="Regístrese aquí" Height="28" HorizontalAlignment="Left" Margin="0,35,0,0" Name="lnkSignUp" VerticalAlignment="Top" Foreground="MidnightBlue" Grid.Column="1" ToolTip="De click para navegar el formulario de registro de usuarios" MouseLeftButtonDown="lnkSignUp_MouseLeftButtonDown" />
			<Label Content="Ingreso de Usuario" Height="33" HorizontalAlignment="Left" Margin="0,11,0,0" Name="label5" VerticalAlignment="Top" FontSize="16" Grid.Column="1" />
		</Grid>
		<Grid HorizontalAlignment="Center" Margin="0,30,0,0" Name="grid1" DockPanel.Dock="Top" VerticalAlignment="Top" Width="220">
			<Grid.RowDefinitions>
				<RowDefinition Height="29" />
				<RowDefinition Height="34" />
				<RowDefinition Height="29" />
				<RowDefinition Height="34" />
				<RowDefinition Height="29" />
			</Grid.RowDefinitions>
			<Label Content="Usuario *" Height="28" HorizontalAlignment="Left" Name="label1" VerticalAlignment="Top" IsEnabled="True" />
			<TextBox Grid.Row="1" Grid.RowSpan="2" Name="txtUserName" Height="34" HorizontalAlignment="Left" Margin="6,0,0,0" VerticalAlignment="Top" Width="210" MaxLength="20" Padding="2,7,2,2" FontFamily="Courier New" FontSize="14" />
			<Label Content="Contraseña *" Grid.Row="2" Height="28" HorizontalAlignment="Left" Name="label2" VerticalAlignment="Top" IsEnabled="True" />
			<PasswordBox Grid.Row="3" Height="34" Name="txtUserPassword" HorizontalAlignment="Left" Margin="6,0,0,0" VerticalAlignment="Top" Width="210" MaxLength="20" Padding="2,8,2,2" FontFamily="Courier New" FontSize="14" />
			<Label Content="Olvide la Contraseña" Grid.Row="4" Height="28" HorizontalAlignment="Center" Margin="0" Name="lnkForgetPassword" VerticalAlignment="Top" Foreground="MidnightBlue" ToolTip="De click para navegar el formulario para recuperar su contraseña" MouseLeftButtonDown="lnkForgetPassword_MouseLeftButtonDown" />
		</Grid>
        <Button Name="btnSignin" Height="34" HorizontalAlignment="Center" Margin="0,20,0,0" VerticalAlignment="Top" DockPanel.Dock="Top" Width="140" Click="btnSignin_Click" ToolTip="De click para que sus datos le permitan iniciar una sesión" IsDefault="True">
            <StackPanel Orientation="Horizontal">
                <Image Source="/ESF.SFT.FileUploader;component/Images/SimpleUser_32x32.png"></Image>
                <Label Content="Iniciar Sesión" Padding="10 6 6 6"></Label>
            </StackPanel>
        </Button>
        <TextBlock TextWrapping="Wrap" ToolTip="De click para ver las Condiciones del Servicio" Width="220" HorizontalAlignment="Center" DockPanel.Dock="Top" Margin="0 20 0 0" TextAlignment="Center" FontSize="10" MouseDown="TextBlock_MouseDown">
			Al iniciar sesión acepta sin restricción las Condiciones del Servicio
		</TextBlock>
		<StatusBar Height="34" HorizontalAlignment="Left" Name="stsStatusBar" VerticalAlignment="Bottom" DockPanel.Dock="Bottom"  MouseDoubleClick="stsStatusBar_DoubleClick">
			<StatusBarItem Width="320">
				<Label Name="lblStatusBarText" Content="Listo"/>
			</StatusBarItem>
		</StatusBar>
	</DockPanel>
</src:BaseWPFWindow>